networking.wireguard.interfaces.<name>.postSetup
Commands called at the end of the interface setup.
- Type
strings concatenated with "\n" or (list of string) convertible to it- Default
""- Example
''printf "nameserver 10.200.100.1" | ${pkgs.openresolv}/bin/resolvconf -a wg0 -m 0''- Declared
- <nixpkgs/nixos/modules/services/networking/wireguard.nix>